/**
 * http://usejsdoc.org/
 */
function waitFive(name,function_name){ //定义waitFive方法，该方法回调等5s
	var plus = 0;
	var currentDate = new Date();
	while(plus < 5000){
		var now = new Date();
		plus = now - currentDate;
	}
	function_name(name);
}

function echo(name){
	console.log(name);
}
waitFive("devintam",echo);
console.log("It's over!");